// Copyright DustedPixels.com 2008. All rights reserved.

package com.dustedpixels.jasmin.chips;

/**
 * @author micapolos@gmail.com (Michal Pociecha-Los)
 */
public final class Pin2 {
  private boolean value;
  private boolean isActive;
  
  public void set(boolean value) {
    this.value = value;
    this.isActive = true;
  }
  
  public void reset() {
    this.isActive = false;
  }
  
  public boolean get() {
    return this.value;
  }
  
  public boolean isActive() {
    return this.isActive;
  }
}
